<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1 {
            width: 100px;
            height: 100px;
        }
    </style>
    <script src="./框架相关的js/jquery-3.6.0.min.js"></script>
</head>

<body>

    <div class="box">
        <div class="box1" title="哈哈哈" ma="嘻嘻"></div>
        <div>
            <div class="box1" aa="ma" ></div>
        </div>
    </div>


    <script>
        console.log(new $(), '????');
        $('.box .box1').css('background', 'red')
        $('.box .box1').onclick=function(){
            console.log(111111111);
        }
         
        console.log($('.box>.box1').prop('tagName'));
        console.log($('.box>.box1').attr('aa'));

        console.log(        $('.box>.box1').prop('title'));
        console.log(        $('.box>.box1').prop('ma'));
        console.log(        $('.box>.box1').attr('ma'));
    </script>
</body>

</html>